package ${package.Service};

import com.Java.train.common.response.CommonResp;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.${table.entityName!}DTO;
import com.Java.train.business.req.${table.entityName!}QueryReq;
import java.util.List;

/**
* @author ${author}
* @since ${date}
*/
<#if kotlin>
    interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    /**
    * ${table.entityName!}详情
    * @param
    * @return
    */
    PageResp<${table.entityName!}DTO> queryList(${table.entityName!}QueryReq ${table.entityName?uncap_first}QueryReq);

    /**
    * ${table.entityName!}保存和修改
    * @param ${table.entityName?uncap_first} 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(${entity} ${table.entityName?uncap_first});

    /**
    * ${table.entityName!}删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);
}

</#if>

